import request from "../axios";

export default {
	getProductType(){
        return request({
			method: "GET",
			url: '/productType/getProductType'
		})
	},
    addProductType(data){
        return request({
			method: "POST",
			url: '/productType/addProductType',
			data
		})
    },
	updateProductType(data){
        return request({
			method: "POST",
			url: '/productType/updateProductType',
			data
		})
    },
	deleteProductType(data){
        return request({
			method: "POST",
			url: '/productType/deleteProductType',
			data
		})
    }
}